package com.wmx.java_8;

import java.util.Arrays;
import java.util.List;
import java.util.stream.IntStream;

/**********************************
 * @author wmx
 * @date 2019/8/14 13:53
 * @description:
 * @version 1.0
 ************************************/
public class TestJava {
    public static void main(String[] args) {
        IntStream.rangeClosed(1,10).forEach(i->{
            System.out.println(i);
        });
       IntStream intStream = IntStream.rangeClosed(1,10);

        List<Integer> integers = Arrays.asList(1, 3, 4, 4, 5);
        integers.forEach(System.out::println);


    }
}
